package cn.silver.module.system.bean;

import cn.silver.framework.mybatis.bean.BaseBean;
import cn.silver.module.system.domain.SysWebsite;
import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author zhouxiaobo
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysWebsite.class)
@Schema(name = "WebsiteBean", title = "收藏网站对象")
public class WebsiteBean extends BaseBean {

    @Schema(title = "用户信息")
    private String userId;

    /**
     * 网址名称
     */
    @Schema(title = "网址名称")
    private String name;

    /**
     * 访问地址
     */
    @Schema(title = "访问地址")
    private String link;

    @Schema(title = "图标")
    private String img;

    /**
     * 排序
     */
    @Schema(title = "排序")
    private Integer sort;
    private String remark;
}
